//
//  BaseViewController.swift
//  QianPingNew
//
//  Created by Apple on 2019/5/14.
//  Copyright © 2019 Apple. All rights reserved.
//

import UIKit

class BaseViewController: UIViewController {
    
    var Base_isShowNavigation = true//是否展示导航栏默认 为true展示
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
         navigationController?.setNavigationBarHidden(!Base_isShowNavigation, animated: true)
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        //背景颜色为白色
        view.backgroundColor = .white
    }
    



}
